/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ilves;

/**
 *
 * @author jleh
 */
public class Event {
    private int start_hour, start_day, duration;
    private String place, name;
    private boolean repeat;

    public Event(int startday, int starthour, int dur, String s){
        start_day = startday;
        start_hour = starthour;
        duration = dur;
        place = s;
        name = null;
    }

    public boolean changeEvent(int hour, int day, String Place, int Duration){
        start_hour = hour;
        start_day = day;
        place = Place;
        duration = Duration;
        return true;
    }

    public void deleteEvent(){

    }

    public int getStartDay() {
        return start_day;
    }

    public int getStartHour() {
        return start_hour;
    }

    public int getDuration(){
        return duration;
    }

    public boolean getRepeat() {
        return repeat;
    }

    public String getPlace() {
        return place;
    }

    public String getName() {
        return name;
    }
}
